Task Scheduling Problem Using Greedy Method